class Api {
  //login
  static final takeCode = 'api/ios/ulogin/getEmailCode/v1';
  static final register = 'api/ios/ulogin/mailRegister/v1';
  static final loginEmail = 'api/ios/ulogin/mailLogin/v1';
  static final unionLogin = 'api/ios/tlogin/unionLogin/v1';
  static final bindEmail = 'api/ios/tlogin/bindEmail/v1';

  //devices
  //获取连接蓝牙密钥
  static final takeMesh = 'api/ios/dnet/getMeshKey/v1';
  //添加设备 deviceName 设备名称 bluetoothName 蓝牙名称 groupId 设备组id 非必填 deviceIp	设备ip 非必填
  static final addDevice = 'api/ios/udm/addDevice/v1';
  //设备列表 type 1 全部 2未分组 3 已分组 currentPage 当前页码
  static final deviceList = 'api/ios/udm/getDeviceList/v1';
  //添加wifi wifiName wifiPwd
  static final addWifi = 'api/ios/dnet/configWifi/v1';
  //设备详情 deviceId
  static final deviceDetail = 'api/ios/udm/getDeviceDetail/v1';
  //编辑设备信息 deviceId 设备id deviceName	设备名称 groupId 组Id
  static final editDevice = 'api/ios/udm/editDevice/v1';
  //获取产品图片 bluetoothName
  static final productImage = 'api/ios/product/getProductImg/v1';
  //产品列表
  static final productList = 'api/ios/product/getCategory/v1';
  //删除设备 deviceId
  static final deleteDevice = 'api/ios/udm/deleteDevice/v1';
  //用户所有设备
  static final allDevices = 'api/ios/udm/getAllDevice/v1';
  //加入设备组
  static final insertGroup = 'api/h5/udm/dgAddDevice/v1';

  //group
  //获取设备组 currentPage
  static final deviceGroup = 'api/ios/udm/getDgList/v1';
  //编辑。新增设备组 groupName 设备组名  sceneId 场景id 非必填 groupId 设备组ID  null 表示新增,有值表示更新
  static final addDeviceGroup = 'api/ios/udm/editDg/v1';
  //设备组详情 groupId
  static final deviceGroupDetail = 'api/ios/udm/getDgDetail/v1';
  //获取设备组 下拉选择列表
  static final deviceGroupList = 'api/ios/udm/getDgSelect/v1';
  //删除设备组 deviceGroupId
  static final deleteGroup = 'api/ios/udm/deleteDeviceGroup/v1';
  //设备组设备列表 groupId
  static final groupDevices = 'api/ios/udm/getGroupDeviceList/v1';
  //移除设备组 deviceId dgId
  static final leaveGroup = 'api/ios/udm/rmDgDevice/v1';

  //isClose false开灯 deviceId 1，2，3
  static final switchDevices = 'api/ios/udm/lampSwitch/v1';
  //调光 light deviceId groupId
  static final lightDevices = 'api/ios/udm/adjustLight/v1';

  //场景
  //场景列表
  static final sceneDownList = 'api/ios/usm/getSceneList/v1';
  //场景详情 sceneId
  static final sceneDetail = 'api/ios/usm/getSceneDetail/v1';
  //锁定场景 sceneId isLock
  static final sceneLock = 'api/ios/usm/lockScene/v1';
  //添加/更新场景
  static final sceneEdit = 'api/ios/usm/editScene/v1';
  //场景开关sceneId switchStatus
  static final sceneTurn = 'api/ios/usm/sceneSwitch/v1';
  //场景删除 sceneId
  static final sceneDelete = 'api/ios/usm/deleteScene/v1';
  //场景列表
  static final sceneList = 'api/ios/usm/list/v1';
  //设备组选设备列表
  static final allDeviceList = 'api/ios/udm/getAllDevice/v1';
  //命令列表
  static final cmdList = 'api/ios/dcs/getSyncCommand/v1';

  //社区列表
  static final circleList = 'api/ios/community/list/v1';
  //社区详情
  static final circleDetail = 'api/ios/community/detail/v1';
  //社区评论
  static final circleComment = 'api/ios/community/comment/v1';
  //社区点赞
  static final circleAgree = 'api/ios/community/liked/v1';
  //社区评论列表
  static final circleCommentList = 'api/ios/community/getCommentList/v1';

  //个人信息
  static final mineInfo = 'api/ios/mine/info/v1';
  //更新设备信息
  static final updateDevice = 'api/upData/device';
  //更新app
  static final updateApp = 'api/app/version';
  //引导图
  static final guideDance = 'api/ios/launch/guidance/v1';
  //设置时区
  static final setZone = 'api/ios/mine/setTimezone/v1';
}
